﻿@{ 
    var name = ((Wei.Model.User_Model)Session["Admin_User_Info"]).u_name;
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>后台管理</title>
    <link rel="icon" href="~/wei.ico" type="image/x-icon" />
    <link href="~/Content/layui/css/layui.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-1.10.2.min.js"></script>
    <script src="~/Scripts/public.js"></script>
    <script src="~/Content/layui/layui.all.js"></script>

</head>
<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <div class="layui-logo">二维也-后台管理</div>
            <!-- 头部区域（可配合layui已有的水平导航） -->
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item"><a href="/Home/Index" target="_blank">去首页看看</a></li>
                <li class="layui-nav-item">
                    <a href="javascript:;">其它系统</a>
                    <dl class="layui-nav-child">
                        <dd><a href="###">邮件管理</a></dd>
                        <dd><a href="###">消息管理</a></dd>
                        <dd><a href="###">授权管理</a></dd>
                    </dl>
                </li>
            </ul>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <img src="~/images/title.jpg" class="layui-nav-img" />
                        您好：@name
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="###">基本资料</a></dd>
                        <dd><a href="###">安全设置</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item"><a href="/Home/LoginOut">退出登录</a></li>
            </ul>
        </div>

        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <ul class="layui-nav layui-nav-tree" lay-filter="test111" lay-unselect lay-shrink="all">
                    <li class="layui-nav-item layui-nav-itemed" lay-unselect>
                        <a class="" href="javascript:;">文章管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="/Admin/Content/ContentManager">文章列表</a></dd>
                            <dd><a href="/Admin/Content/ContentType">文章类别</a></dd>
                            <dd><a href="javascript:;">待定</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;">系统信息管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="/Admin/Home/Index_Img">首页轮播图</a></dd>
                            <dd><a href="/Admin/Home/Site_Setting">网站信息</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;">用户管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="/Admin/Home/User_List">用户列表</a></dd>
                            <dd><a href="/Admin/Home/User_List">用户权限</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="/Crawl">看小说</a>
                    </li>
                </ul>
            </div>
        </div>

        <div class="layui-body">
            <!-- 内容主体区域 -->
            @RenderBody()
        </div>

        <div class="layui-footer" style="text-align:center;">
            <!-- 底部固定区域 -->
            <a href="http://www.chenjinwei.com" target="_blank"> © 博客官网：www.chenjinwei.com</a>
        </div>
    </div>
    <script>
        //JavaScript代码区域
        ; !function () {
            var element = layui.element;
            element.render();
            //element.on('nav(test111)', function (data) {
            //    console.log(data.show); //得到当前面板的展开状态，true或者false
            //    console.log(data.title); //得到当前点击面板的标题区域DOM对象
            //    console.log(data.content); //得到当前点击面板的内容区域DOM对象
            //});
            //element.tab({
            //    headerElem: '#tabHeader>li' //指定tab头元素项
            //    , bodyElem: '#tabBody>.xxx' //指定tab主体元素项
            //});
        }();
    </script>
</body>

</html>